package model.context
{
	import com.google.maps.Map;
	
	import model.context.base.BaseContext;
	import model.context.base.IContext;
	
	import view.panel.MultiDeviceMonitor;

	public class DeviceMonitorContext extends BaseContext
	{
		public function DeviceMonitorContext()
		{
		}
		
		public var deviceItem:Object;
		public var targetPanel:MultiDeviceMonitor;
		//地理信息
		public var locInfoList:Object;
		
		/**
		 * 设备列表
		 **/
		public function getDevIdList():Array
		{
			var tempList : Array = new Array();
			if ( deviceItem != null )
			{
				for each(var item:Object  in deviceItem) {
					tempList.push(item.device_id );
				}
			}
			return tempList;
		}
	}
}